TileDownloader.this

Creates a new [class@TileDownloader] that fetches tiles from an API and caches them on disk.

See [property@TileDownloader:url-template] for the format of the URL template.

  1. this(ShumateTileDownloader* shumateTileDownloader, bool ownedRef)
  2. this(string urlTemplate)
    class TileDownloader
    this
    ()

Parameters

urlTemplate string

a URL template to fetch tiles from

Return Value

a newly constructed [class@TileDownloader]

Throws

ConstructionException GTK+ fails to create the object.

Meta